var fs = require('fs')
var http = require('http')

http.createServer((request,response)=>{
let en  = Date.now()
    fs.writeFile("server.log",en+`${Date.now()}-${request.mehthod}-${request.url}-${request.headers['x-forwarded-for']}`,(a,b)=>{
console.log(a);
console.log(b);



})

}).listen(5000)
